package test;

public class PingPongPlayer extends Player{
    //自动生成构造代码


    public PingPongPlayer() {
    }

    public PingPongPlayer(String name, int age) {
        super(name, age);
    }

    @Override
    public void study() {
        System.out.println("姓名是"+this.getName()+"年龄是"+getAge()+"的乒乓球运动员在学习");

    }
}
